// -----------------------------
// Author: 		Dhaenens Gert	
// Creation: 	2/22/2015 12:09:15 PM				
// -----------------------------

#include "Path.h"

#ifndef ARM
#include "Shlwapi.h"
#endif

namespace Flow
{

	Bool Path::Exists(const tstring& file)
	{
		return true;
	}

	tstring Path::Combine(const tstring& a, const tstring& b)
	{
		#ifdef ARM
		tstring str = a;
		str = str.append(_T("\\"));
		str = str.append(b);
		return str;
		#else
		const Size_T bufferLen = MAX_PATH;
		TChar buffer[bufferLen];

		PathCombine(buffer, a.c_str(), b.c_str());

		return tstring(buffer);
		#endif
	}

}